home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1994-02-01 | 11.7 KB | 334 lines |
- /* Seattle FilmWorks PhotoWorks for DOS ver 1.1 install script */
- /* (C) Copyright 1994 Seattle FilmWorks */
- /* This software is a proprietary product of: */
- /* Seattle FilmWorks, 1260 16th Ave West, Seattle WA 98119. */
- /* Unauthorized duplication or use is prohibited under applicable */
- /* laws. All rights reserved. */
- /* */
- /* By: Dan Sanow Date: 02-17-94 */
- /* */
- /* Revisions: */
- /* 04-04-94 Modified to support new 1.1 files */
-
- @DefineProject
- @Name = "PhotoWorks for DOS"
- @Version = "1.25"
- @Subdir = "\\SFW"
- @OutDrive = C
- @Requires @HardDisk
- @EndProject
-
- @DefineVars
- @Qstring @NameVer = "PhotoWorks @Version for DOS"
- @Qstring @OverWritePrev = "NO"
- @Qstring @UpdateAutoExec = "YES"
- @EndVars
-
- @Display
- @Cls
- @NameVer Installation
- Copyright (c) 1994 Seattle FilmWorks, Inc.
-
- Welcome to the @Name installation program.
-
- This program will install @NameVer on your hard disk.
-
- @Name requires a system configuration with a 286 or
- greater CPU, VGA video card, and MS-DOS 3.0 or greater.
-
- You may press the [Esc] key at any time to quit the
- installation.
-
- @Pause
- @EndDisplay
-
- DRIVESELECT:
- @GetOutDrive
- @Suppress A
- @Suppress B
- @Cls
- @NameVer Installation
- Copyright (c) 1994 Seattle FilmWorks, Inc.
-
- @Name will be installed on the @OutDrive:
- drive. Press [Enter] to accept this selection.
-
- If you are able to choose a different drive,
- use the UP and DOWN arrow keys to highlight
- the drive use wish to use. Press [Enter]
- to continue.
- @MoveCStr(4,58,30,"TARGET DRIVE")
- @LocalWindow(10,65)
- @EndOutDrive
-
- @GetSubdir
- @Cls
- @NameVer Installation
- Copyright (c) 1994 Seattle FilmWorks, Inc.
-
- @Name will be installed to @SubDir on the @OutDrive:
- drive. Press [Enter] to accept this path.
-
- If you want to install @Name in a different
- directory, use the backspace key to remove @SubDir
- and type the new path. Press [Enter] to continue.
- @Prompt = " Install Path "
- @EndSubdir
-
- @If (@Exists("@OutDrive:\\@SubDir\\POD2DISK.EXE"))
- @GetOption @FlushOptions()
- A version of @Name appears to already be installed.
- This upgrade will not erase any rolls or images.
- Do you wish to overwrite the version on the hard drive?
-
- Use the UP and DOWN arrow keys to highlight the
- answer you wish to use. Press [Enter] to continue.
-
- @Option 1 = "Yes - Overwrite prior version"
- @Option 2 = "No - Select NEW installation path"
- @Option 3 = "Exit - Stop installation"
- @LocalWindow(11,27)
- @EndOption
-
- @If (1 [= @Option) @OverWritePrev = "YES" @Endif
- @If (2 [= @Option) @Goto DRIVESELECT @Endif
- @If (3 [= @Option)
- @Display
- @NameVer was not installed.
- Please refer to the user manual for additional instructions.
-
- @Pause
- @Exit
- @EndDisplay
- @Endif
-
- @ElseIf (@Exists("@OutDrive:\\@SubDir"))
- @GetOption @FlushOptions()
- Another product appears to be installed at @OutDrive:@SubDir.
- Do you wish to continue with the installation of
- @NameVer using this path?
-
- Use the UP and DOWN arrow keys to highlight the
- answer you wish to use. Press [Enter] to continue.
-
- @Option 1 = "Yes - Install using current path"
- @Option 2 = "No - Select NEW installation path"
- @Option 3 = "Exit - Stop installation"
- @LocalWindow(11,27)
- @EndOption
-
- @If (2 [= @Option) @Goto DRIVESELECT @Endif
- @If (3 [= @Option)
- @Display
- @NameVer was not installed.
- Please refer to the user manual for additional instructions.
-
- @Pause
- @Exit
- @EndDisplay
- @Endif
- @EndIf
-
- @GetOption @FlushOptions()
- @NameVer Installation
- Copyright (c) 1994 Seattle FilmWorks, Inc.
-
- To make it easier for you to use @Name, this
- install program needs to modify your AUTOEXEC.BAT file.
- /*
- By making changes to the AUTOEXEC.BAT file, the screen saver
- is automatically loaded when booting your computer and you
- can execute @Name from any directory.
- We recommend that you allow this install program to update
- AUTOEXEC.BAT automatically for you.
- */
- By making changes to the AUTOEXEC.BAT file, you can
- execute @Name from any directory.
-
- Use the UP and DOWN arrow keys to highlight the
- answer you wish to use. Press [Enter] to continue.
-
- @Option 1 = "Yes - Update AUTOEXEC.BAT (recommended)"
- @Option 2 = "No - Leave AUTOEXEC.BAT unchanged"
- @Option 3 = "Exit - Stop installation"
- /* @LocalWindow(20,30)
- */
- @LocalWindow(16,30)
- @EndOption
-
- @If (3 [= @Option)
- @Display
- @NameVer was not installed.
- Please refer to the user manual for additional instructions.
-
- @Pause
- @Exit
- @EndDisplay
- @Endif
-
- @If (1 [= @Option) @UpdateAutoExec = "YES" @Endif
- @If (2 [= @Option) @UpdateAutoExec = "NO" @Endif
-
- @SetAutoexec
- @if (1 [= @Option)
- @Overwrite
- @Path = "@OutDrive:\\@SubDir;"
- /* @Verbatim = "CALL @OutDrive:\\@SubDir\\SFWSAVER.BAT" */
- @Endif
- @EndAutoexec
-
- @GetOption @FlushOptions()
- @NameVer Installation
- Copyright (c) 1994 Seattle FilmWorks, Inc.
-
- @MoveCStr(,,64+15," @Name is ready to be installed ")
-
- Target Drive.......... @OutDrive:
- Target Path........... @SubDir
- Update AUTOEXEC.BAT... @UpdateAutoExec
-
- Are these installation options correct?
-
- Use the UP and DOWN arrow keys to highlight the
- answer you wish to use. Press [Enter] to continue.
-
- @Option 1 = "Yes - Install using above options"
- @Option 2 = "No - Change the installation options"
- @Option 3 = "Exit - Stop installation"
- @LocalWindow(18,29)
- @EndOption
-
- @If (2 [= @Option) @Goto DRIVESELECT @Endif
- @If (3 [= @Option)
- @Display
- @NameVer was not installed.
- Please refer to the user manual for additional instructions.
-
- @Pause
- @Exit
- @EndDisplay
- @Endif
-
- @DefineVars
- @Qstring @DataDir = "@OutDrive:\\@SubDir"
- @Qstring @SampleDir = "@DataDir\\99999998.ROL"
- @Qstring @SampleRoll = "@SampleDir\\99999998"
- @EndVars
-
- @DefineDisk
- @Label = "PhotoWorks Disk #1 of 1"
- @BeginLib SFWPW125.001
- @File PW.BAT @Size 66 @Out PW.BAT
- @File SFWPW.BAT @Size 2215 @Out SFWPW.BAT
- @File SFWPW124.EXE @Size 236178 @Out SFWPW124.EXE
- @File POD2DISK.EXE @Size 112946 @Out POD2DISK.EXE
- @File SFW2DISK.EXE @Size 116898 @Out SFW2DISK.EXE
- @File RESPONSE.COM @Size 128 @Out RESPONSE.COM
- @File SFWPCUBE.EXE @Size 71274 @Out SFWPCUBE.EXE
- @File WHATSVGA.EXE @Size 13568 @Out WHATSVGA.EXE
- @File PODICON.ICO @Size 766 @Out PODICON.ICO
- @File PCUBE.ICO @Size 766 @Out PCUBE.ICO
- @File README.TXT @Size 4077 @Out README.TXT
- @File PWLG.DAT @Size 11490 @Out PWAUX\PWLG.DAT
- @File PWNPG1.DAT @Size 22459 @Out PWAUX\PWNPG1.DAT
- @File PWNPG2.DAT @Size 15887 @Out PWAUX\PWNPG2.DAT
- @File PWNPG3.DAT @Size 15610 @Out PWAUX\PWNPG3.DAT
- @File PWNPG4.DAT @Size 26599 @Out PWAUX\PWNPG4.DAT
- @File PWNPT1.DAT @Size 921 @Out PWAUX\PWNPT1.DAT
- @File PWNPT2.DAT @Size 1465 @Out PWAUX\PWNPT2.DAT
- @File PWNPT3.DAT @Size 1941 @Out PWAUX\PWNPT3.DAT
- @File PWNPT4.DAT @Size 1470 @Out PWAUX\PWNPT4.DAT
- @File PWOFT1.DAT @Size 3052 @Out PWAUX\PWOFT1.DAT
- @File PWOFT2.DAT @Size 3128 @Out PWAUX\PWOFT2.DAT
- @File PWOFT3.DAT @Size 2786 @Out PWAUX\PWOFT3.DAT
- @File PWOFT4.DAT @Size 3025 @Out PWAUX\PWOFT4.DAT
- @File PWOH1.DAT @Size 4291 @Out PWAUX\PWOH1.DAT
- @File PWOH2.DAT @Size 4561 @Out PWAUX\PWOH2.DAT
- @File PWOH3.DAT @Size 4141 @Out PWAUX\PWOH3.DAT
- @File PWOH4.DAT @Size 2542 @Out PWAUX\PWOH4.DAT
- @File PWOH5.DAT @Size 4794 @Out PWAUX\PWOH5.DAT
- @File PWOH6.DAT @Size 1747 @Out PWAUX\PWOH6.DAT
- @File PWOH7.DAT @Size 4025 @Out PWAUX\PWOH7.DAT
- @File PWOH8.DAT @Size 4431 @Out PWAUX\PWOH8.DAT
- @File PWOH9.DAT @Size 2525 @Out PWAUX\PWOH9.DAT
- @File 99999998.INI @Size 73 @Out 99999998.ROL\99999998.INI
- @File 99999998.#01 @Size 64961 @Out 99999998.ROL\99999998.#01
- @File 99999998.#02 @Size 44334 @Out 99999998.ROL\99999998.#02
- @File 99999998.#03 @Size 50489 @Out 99999998.ROL\99999998.#03
- @File 99999998.#04 @Size 54817 @Out 99999998.ROL\99999998.#04
- @File 99999998.#05 @Size 43133 @Out 99999998.ROL\99999998.#05
- @File 99999998.#06 @Size 58157 @Out 99999998.ROL\99999998.#06
- @File 99999998.#07 @Size 49078 @Out 99999998.ROL\99999998.#07
- @File 99999998.#08 @Size 48740 @Out 99999998.ROL\99999998.#08
- @File 99999998.#09 @Size 47402 @Out 99999998.ROL\99999998.#09
- @File 99999998.#10 @Size 53535 @Out 99999998.ROL\99999998.#10
- @File 99999998.#11 @Size 52730 @Out 99999998.ROL\99999998.#11
- @EndLib
- @EndDisk
-
-
- @Finish
- /* Create the SFWSAVER file */
- /* @Write("@DataDir\\SFWSAVER.BAT", "wt", "@@echo off\n") */
- /* @Write( , , "rem Batch file to start & stop screen saver tsr\n") */
- /* @Write( , , "if \"%1\"==\"U\" goto UNLOAD\n") */
- /* @Write( , , "if \"%1\"==\"u\" goto UNLOAD\n") */
- /* @Write( , , "@DataDir\\SCRNSVR.EXE @@@DataDir\\SFWSAVER.INI 5 3 10\n") */
- /* @Write( , , "goto EXIT\n") */
- /* @Write( , , ":UNLOAD\n") */
- /* @Write( , , "@DataDir\\SCRNSVR.EXE U\n") */
- /* @Write( , , ":EXIT\n") */
- /* @Write( , , "echo.\n") */
-
- /* Create a screen saver list of sample images if none exists */
- /* @If (!(@Exists("@DataDir\\SFWSAVER.INI"))) */
- /* No screen saver script exists, creating one for you. */
- /* @Write("@DataDir\\SFWSAVER.INI", "wt", "@SampleRoll.#01\n") */
- /* @Write( , , "@SampleRoll.#02\n") */
- /* @Write( , , "@SampleRoll.#03\n") */
- /* @Write( , , "@SampleRoll.#04\n") */
- /* @Write( , , "@SampleRoll.#05\n") */
- /* @Write( , , "@SampleRoll.#06\n") */
- /* @Write( , , "@SampleRoll.#07\n") */
- /* @Write( , , "@SampleRoll.#08\n") */
- /* @Write( , , "@SampleRoll.#09\n") */
- /* @Write( , , "@SampleRoll.#10\n") */
- /* @Write( , , "@SampleRoll.#11\n") */
- /* @Endif */
-
- /* Create a PHOTOCUBE control file if none exists */
- @If (!(@Exists("@DataDir\\SFWCUBE.DAT")))
- No PhotoCube control file exists, creating one for you.
- @Write("@DataDir\\SFWCUBE.DAT", "wt", "@SampleRoll.#02\n")
- @Write( , , "@SampleRoll.#01\n")
- @Write( , , "@SampleRoll.#03\n")
- @Write( , , "@SampleRoll.#04\n")
- @Write( , , "@SampleRoll.#05\n")
- @Write( , , "@SampleRoll.#06\n")
- @Write( , , "@SampleRoll.#07\n")
- @Write( , , "-p340\n")
- @Write( , , "-X84 -x2\n")
- @Write( , , "-Y55 -y1\n")
- @Write( , , "-Z75\n")
- @Endif
-
- @Delete("@DataDir\\SFWPW.EXE")
- @Delete("@DataDir\\SFWPW11.EXE")
- @Delete("@DataDir\\PWAUX\\PWLG1.DAT")
- @Delete("@DataDir\\PWAUX\\PWLG2.DAT")
-
- @MkDir("@DataDir\\CONVFOTO")
- @MkDir("@DataDir\\SAVERS")
-
- @ChDrive @OutDrive
- @ChDir "@SubDir"
-
- Installation of @Name is now finished.
-
- Type in SFWPW to start @Name
-
- @Pause
- @EndFinish
-
- /* end-of-file */
-